uart.bin:uart.c
    arm-none-linux-gnueabi-gcc -c uart.c -o uart.o
    arm-none-linux-gnueabi-ld -Ttext=0x50000000 uart.o -o uart -e _start
    arm-none-linux-gnueabi-objcopy -I elf32-littlearm -O binary uart uart.bin
.PYTHON:clean
clean:
    rm *.o *.bin uart
